package com.think.teaching.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.think.teaching.model.ExamPaperType;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 课程类型 Mapper 接口
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface ExamPaperTypeMapper extends BaseMapper<ExamPaperType> {
	
	@Select("Select id,type_name FROM exam_paper_type WHERE id=#{type}")
	ExamPaperType getInfoById(Integer type);
}
